/* 全局样式 - 赛博朋克风格 */
:root {
    --primary-color: #ff2a6d;
    --primary-dark: #d81557;
    --secondary-color: #05d9e8;
    --accent-color: #01c8c8;
    --text-color: #f1f1f1;
    --text-light: #b3b3b3;
    --border-color: #2a2a3a;
    --success-color: #01ffc3;
    --warning-color: #ffe600;
    --danger-color: #ff2a6d;
    --background-dark: #0d0221;
    --background-medium: #1a1a2e;
    --background-light: #202040;
    --max-width: 1200px;
    --font-family: 'Rajdhani', 'Orbitron', 'Microsoft YaHei', sans-serif;
    --glow-effect: 0 0 5px rgba(1, 200, 200, 0.5), 0 0 10px rgba(1, 200, 200, 0.3);
    --neon-border: 1px solid var(--accent-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-dark);
    background-image: linear-gradient(135deg, var(--background-dark) 0%, var(--background-medium) 100%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: var(--accent-color);
    text-shadow: var(--glow-effect);
}

img {
    max-width: 100%;
    height: auto;
    border: var(--neon-border);
    box-shadow: var(--glow-effect);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-effect);
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--background-dark);
    box-shadow: 0 0 15px var(--accent-color);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* 导航栏样式 */
header {
    background-color: var(--background-medium);
    box-shadow: 0 0 20px rgba(5, 217, 232, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--accent-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

header h1 {
    color: var(--primary-color);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s;
    transform: translateX(-50%);
    box-shadow: var(--glow-effect);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 80%;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
}

/* 英雄区域样式 */
.hero {
    background-color: var(--background-light);
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    background-image: linear-gradient(to right, rgba(13, 2, 33, 0.8), rgba(26, 26, 46, 0.8)), url('https://via.placeholder.com/1920x1080');
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--accent-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(1, 200, 200, 0.15) 2px,
        rgba(1, 200, 200, 0.15) 4px
    );
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(5, 217, 232, 0.2) 50%,
        transparent 100%
    );
    animation: scanline 8s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    font-weight: 700;
    position: relative;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
    position: relative;
}

/* 主页文章网格样式 */
.page-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--accent-color);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px var(--primary-color);
    font-weight: 700;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.featured-posts {
    margin-bottom: 70px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post {
    background-color: var(--background-medium);
    border: 1px solid var(--accent-color);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(135deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-135deg, transparent 98%, var(--accent-color) 99%);
    pointer-events: none;
}

.post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(1, 200, 200, 0.4);
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: none;
    border-bottom: 1px solid var(--accent-color);
    filter: saturate(130%) contrast(110%);
    transition: filter 0.3s;
}

.post:hover img {
    filter: saturate(180%) contrast(120%);
}

.post h3 {
    margin: 20px 20px 10px;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 42, 109, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-date {
    display: block;
    color: var(--text-light);
    margin: 0 20px 10px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.post p {
    margin: 0 20px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.post .btn {
    margin: 0 20px 20px;
}

/* 博客列表页样式 */
.blog-filter {
    display: flex;
    margin-bottom: 40px;
    gap: 15px;
}

.blog-filter input, .blog-filter select {
    padding: 12px 15px;
    border: 1px solid var(--accent-color);
    background-color: var(--background-medium);
    color: var(--text-color);
    font-family: var(--font-family);
    box-shadow: 0 0 10px rgba(1, 200, 200, 0.2);
}

.blog-filter input:focus, .blog-filter select:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.4);
}

.blog-filter input {
    flex: 1;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.blog-item {
    display: flex;
    background-color: var(--background-medium);
    border: 1px solid var(--accent-color);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.blog-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(135deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-135deg, transparent 98%, var(--accent-color) 99%);
    pointer-events: none;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(1, 200, 200, 0.4);
}

.blog-content {
    flex: 2;
    padding: 25px;
}

.blog-image {
    flex: 1;
    max-width: 300px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-left: 1px solid var(--accent-color);
    filter: saturate(130%) contrast(110%);
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 42, 109, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
}

.post-meta {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.post-meta span {
    margin-right: 15px;
}

.post-excerpt {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 18px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    background-color: var(--background-medium);
    box-shadow: 0 0 8px rgba(1, 200, 200, 0.2);
    font-family: 'Courier New', monospace;
}

.pagination a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 217, 232, 0.2), transparent);
    transition: 0.5s;
}

.pagination a:hover:before {
    left: 100%;
}

.pagination a.active {
    background-color: var(--accent-color);
    color: var(--background-dark);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.pagination a:hover:not(.active) {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.4);
    color: var(--secondary-color);
}

/* 关于页面样式 */
.about-page {
    background-color: var(--background-medium);
    border: 1px solid var(--accent-color);
    padding: 30px;
    box-shadow: 0 0 20px rgba(1, 200, 200, 0.3);
    margin-bottom: 60px;
    position: relative;
}

.about-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(135deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-135deg, transparent 98%, var(--accent-color) 99%);
    pointer-events: none;
}

.about-intro {
    display: flex;
    margin-bottom: 60px;
    gap: 40px;
}

.about-image {
    flex: 1;
    max-width: 300px;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--primary-color);
    z-index: -1;
}

.about-image img {
    width: 100%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(1, 200, 200, 0.4);
    filter: saturate(130%) contrast(110%);
}

.about-content {
    flex: 2;
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    font-weight: 700;
}

.about-tagline {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(1, 200, 200, 0.5);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill {
    margin-bottom: 15px;
}

.skill h4 {
    margin-bottom: 8px;
}

.skill-bar {
    background-color: var(--secondary-color);
    height: 10px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.skill-level {
    background-color: var(--primary-color);
    height: 10px;
    border-radius: 5px;
}

.timeline {
    margin-top: 20px;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-date {
    width: 120px;
    text-align: right;
    padding-right: 30px;
    font-weight: bold;
}

.timeline-content {
    flex: 1;
    padding-left: 30px;
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: 112px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid white;
}

.company {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* 联系页面样式 */
.contact-page {
    background-color: var(--background-medium);
    border: 1px solid var(--accent-color);
    padding: 30px;
    box-shadow: 0 0 20px rgba(1, 200, 200, 0.3);
    margin-bottom: 60px;
    position: relative;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(135deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-135deg, transparent 98%, var(--accent-color) 99%);
    pointer-events: none;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    font-weight: 700;
    position: relative;
}

.contact-info h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.contact-list {
    margin: 30px 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    padding-left: 10px;
}

.contact-list li::before {
    content: '>';
    position: absolute;
    left: -5px;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
}

.contact-icon {
    font-size: 1.8rem;
    margin-right: 20px;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

.contact-text {
    font-family: 'Courier New', monospace;
}

.social-links-large {
    display: flex;
    margin-top: 40px;
}

.social-links-large .social-link {
    margin-right: 20px;
    font-size: 1.2rem;
    padding: 12px 20px;
    background-color: var(--background-light);
    border: 1px solid var(--accent-color);
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(1, 200, 200, 0.2);
    position: relative;
    overflow: hidden;
}

.social-links-large .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 217, 232, 0.2), transparent);
    transition: 0.5s;
}

.social-links-large .social-link:hover::before {
    left: 100%;
}

.social-links-large .social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.4);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--accent-color);
    background-color: var(--background-light);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(1, 200, 200, 0.1);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 博客文章页面样式 */
.post-page {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 60px;
    gap: 40px;
}

.blog-post {
    flex: 2;
    min-width: 300px;
    background-color: var(--background-medium);
    border: 1px solid var(--accent-color);
    padding: 40px;
    box-shadow: 0 0 20px rgba(1, 200, 200, 0.3);
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(135deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-135deg, transparent 98%, var(--accent-color) 99%);
    pointer-events: none;
}

.post-header {
    margin-bottom: 30px;
    position: relative;
}

.post-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.post-title {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    font-weight: 700;
}

.post-featured-image {
    margin-bottom: 30px;
    border: 2px solid var(--accent-color);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(1, 200, 200, 0.3);
}

.post-featured-image img {
    border: none;
    filter: saturate(130%) contrast(110%);
    transition: transform 0.3s;
}

.post-featured-image:hover img {
    transform: scale(1.05);
}

.post-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content p, .post-content ul, .post-content ol {
    margin-bottom: 25px;
}

.post-content h3 {
    margin: 40px 0 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 42, 109, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.post-content h3::before {
    content: '//';
    position: absolute;
    left: -30px;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
}

.post-content ul, .post-content ol {
    padding-left: 30px;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 12px;
    position: relative;
}

.post-content ul li::before {
    content: '>';
    position: absolute;
    left: -20px;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 15px 25px;
    margin: 30px 0;
    background-color: var(--background-light);
    font-style: italic;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.2);
}

.post-content pre {
    background-color: var(--background-light);
    padding: 20px;
    border: 1px solid var(--accent-color);
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.2);
    font-family: 'Courier New', monospace;
    position: relative;
}

.post-content pre::before {
    content: 'CODE';
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--background-dark);
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
}

.post-content code {
    font-family: 'Courier New', Monaco, monospace;
    color: var(--accent-color);
}

.post-tags {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tag-label {
    margin-right: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px;
    background-color: var(--background-light);
    border: 1px solid var(--accent-color);
    font-size: 0.9rem;
    transition: all 0.3s;
    color: var(--accent-color);
    box-shadow: 0 0 5px rgba(1, 200, 200, 0.2);
}

.tag:hover {
    background-color: var(--accent-color);
    color: var(--background-dark);
    box-shadow: 0 0 10px var(--accent-color);
    transform: translateY(-2px);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding: 25px 0;
    margin: 40px 0;
}

.post-nav-prev, .post-nav-next {
    max-width: 45%;
}

.post-nav-prev span, .post-nav-next span {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-comments {
    margin-top: 60px;
}

.post-comments h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    font-weight: 700;
    position: relative;
}

.post-comments h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.comment-form {
    margin-bottom: 40px;
}

.comment-form h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.comment {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.comment-avatar {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(1, 200, 200, 0.3);
}

.comment-content {
    flex: 1;
}

.comment-info {
    display: flex;
    margin-bottom: 12px;
}

.comment-author {
    font-weight: 500;
    margin-right: 15px;
    color: var(--primary-color);
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.comment-reply {
    font-size: 0.9rem;
    margin-top: 10px;
    display: inline-block;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.comment-reply:hover {
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
}

/* 侧边栏样式 */
.sidebar {
    flex: 1;
    min-width: 260px;
}

.widget {
    background-color: var(--background-medium);
    border: 1px solid var(--accent-color);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 0 15px rgba(1, 200, 200, 0.2);
    position: relative;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-45deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(135deg, transparent 98%, var(--accent-color) 99%),
                linear-gradient(-135deg, transparent 98%, var(--accent-color) 99%);
    pointer-events: none;
}

.widget-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--accent-color);
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(255, 42, 109, 0.5);
    font-weight: 700;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.recent-posts li, .categories li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 15px;
}

.recent-posts li::before, .categories li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
}

.recent-posts li a, .categories li a {
    display: block;
    transition: all 0.3s;
    color: var(--text-color);
}

.recent-posts li a:hover, .categories li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 添加动画效果 */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--accent-color);
        clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%, 0 30%, 100% 30%, 100% 50%, 0 50%, 0 60%, 100% 60%, 100% 85%, 0 85%, 0 90%, 100% 90%, 100% 100%, 0 100%);
    }
    2% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--accent-color);
        clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%, 0 45%, 100% 45%, 100% 65%, 0 65%, 0 75%, 100% 75%, 100% 95%, 0 95%);
    }
    4% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--accent-color);
        clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%, 0 35%, 100% 35%, 100% 55%, 0 55%, 0 70%, 100% 70%, 100% 100%, 0 100%);
    }
    6% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--accent-color);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    8% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--accent-color);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        text-shadow: -0.05em -0.025em 0 transparent, 0.025em 0.025em 0 transparent;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.hero h2:hover, .post-title:hover, header h1:hover {
    animation: glitch 1s linear forwards;
}

/* 响应式布局 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    header h1 {
        margin-bottom: 15px;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .blog-item {
        flex-direction: column;
    }
    
    .blog-image {
        max-width: 100%;
        height: 200px;
    }
    
    .post-page {
        flex-direction: column;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 20px;
        justify-content: center;
    }
    
    .social-link {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
}

/* 页脚样式 */
footer {
    background-color: var(--background-dark);
    color: var(--text-color);
    padding: 50px 0;
    border-top: 1px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 20px,
        rgba(1, 200, 200, 0.05) 20px,
        rgba(1, 200, 200, 0.05) 40px
    );
    pointer-events: none;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.social-links {
    display: flex;
}

.social-link {
    color: var(--accent-color);
    margin-left: 20px;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-shadow: 0 0 5px var(--accent-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s;
    box-shadow: 0 0 5px var(--accent-color);
}

.social-link:hover::after {
    width: 100%;
}

.social-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
} 